riscv: complete the list of exception codes
authorLukas Auer <[email protected]>
Thu, 22 Nov 2018 10:26:20 +0000 (11:26 +0100)
committerAndes <[email protected]>
Mon, 26 Nov 2018 05:57:30 +0000 (13:57 +0800)
commit5a441736b7dda7fd4dde0a2417aeab59a9ef9424
tree517937987353bdb4d40dcca11e56a5d14ba1f56e
parentf105d2efcb086a7e05b75c04e26432d3d8995b9b
riscv: complete the list of exception codes

Only the first four exception codes are defined. Add the missing
exception codes from the definition in RISC-V Privileged Architecture
Version 1.10.

Signed-off-by: Lukas Auer <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
arch/riscv/lib/interrupts.c